Skip to content

Conversation

@peanutfun
Copy link
Member

Changes proposed in this PR:

This PR fixes #

PR Author Checklist

PR Reviewer Checklist

peanutfun and others added 20 commits November 21, 2025 18:23
* define base class
* add init test
* Fix #1127

---------

Co-authored-by: Valentin Gebhart <valentin.gebhart@usys.ethz.ch>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* Add ImpactForecast
* Add unit tests
* Create hazardForecast base class
* Update datetime to timedelta for lead_time
* Add tests

---------

Co-authored-by: luseverin <luca.severino@usys.ethz.ch>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* change leadtime to timedelta
* adapt impactforecast docstrings and tests
* Remove stray comment

---------

Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* Add HazardForecast.select test

---------

Co-authored-by: luseverin <luca.severino@usys.ethz.ch>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* Add test for hazardForecast.concat
* Skip HazardForecast.concat test

---------

Co-authored-by: luseverin <luca.severino@usys.ethz.ch>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* Add test for ImpactForecast.select
* minor test modification

---------

Co-authored-by: Evelyn Mühlhofer <evelyn.muehlhofer@meteoswiss.ch>
* Add test stub for ImpactForecast.concat
* Use correct command for skipping a test
* Fix merge issue
* Add data shape check for HazardForecast, ImpactForecast
Adapt Hazard from_hdf5 and write_hdf5 to forecast attributes
* Add extended select impact forecast test
* Add extended hazard forecast test

---------

Co-authored-by: Chahan Kropf <chahan.kropf@posteo.com>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* Return impactForecast object in _return_impact
* Return impactForecast object in _return_empty
* Add full  impactcalc test for impactForecast
* Raise value error when computing impact with impact forecast without saving impact matrix
* Cosmetics: Improve error message, move test to own class
* Write nans for eai_exp and aai_agg when forecast is used

---------

Co-authored-by: luseverin <luca.severino@usys.ethz.ch>
Co-authored-by: Chahan Kropf <chahan.kropf@posteo.com>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* add idx boolean selection for member and leadtime
* Add test for weird data types

---------

Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* Add ImpactForecast.select

---------

Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* add HazardForecast.select and extent test

---------

Co-authored-by: Eliane Kobler <ekobler@student.ethz.ch>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
peanutfun and others added 5 commits December 10, 2025 14:32
* Add HazardForecast.concat
Add min/mean/max methods

---------

Co-authored-by: luseverin <luca.severino@usys.ethz.ch>
Co-authored-by: Chahan Kropf <chahan.kropf@posteo.com>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* Make Impact.concat support ImpactForecast
* Add tests
* implement changes in Impact IO and ImpactForecast IO
* Update tests
* Fix small issue when reading H5 for ImpactForecast

---------

Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
* Add quantile and median for hazard and impact forecast
* Review

---------

Co-authored-by: luseverin <luca.severino@usys.ethz.ch>
Co-authored-by: Chahan Kropf <chahan.kropf@posteo.com>
Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants